package cn.jsu.oj.dispatchServer.satellite.netty.dispatcher;

import io.netty.channel.Channel;

/**
 * 分发器
 *
 * @author shan
 * @date 2022/06/30
 */
public interface Dispatcher {


    /**
     * 分发
     *
     * @param channel 通道
     * @param msg     消息
     * @throws Exception 异常
     */
    void dispatch(Channel channel, Object msg) throws Exception;
}
